package com.book.factory;

import java.util.LinkedHashMap;

public class FilterChainFactory {
     public LinkedHashMap<String, String> getLinkedHashMap(){
    	 LinkedHashMap<String, String> map = new LinkedHashMap<String, String>();
    	 map.put("/index.jsp", "anon");
    	 map.put("/login.jsp","anon");
    	 map.put("/jsp/admin.jsp", "authc,roles[admin]");
    	 map.put("/enterAdmin", "authc,roles[admin]");
    	 map.put("/jsp/reader.jsp", "authc,roles[reader]");
    	 map.put("/enterTopic", "authc,roles[reader]");
    	 return map;
     }
}
